<?php
namespace app\user\event\listeners\user;

use app\user\logic\user\Account;
use app\user\logic\user\Token as UserToken;

/**
 * 清理用户授权
 */
class UserTokenDelete
{
    public static function handle(Account $user)
    {
        app(UserToken::class)->clearToken($user);
    }
}
